/************************************************
 * 												*
 * Project	:	Family Entertainment 			*
 * Source	:	Class Material					*
 * Owner	:	Vially Flores					*
 * 												*
 ************************************************/

package upcweb.modelo;

import java.util.Collection;

public class ClsMaterial
{
	private int IdMaterial;
	private String Name;
	private String State;
	private Collection<ClsMaterial> materials;
	
	// 1. Write empty constructor
	public ClsMaterial() {
		super();
	}

	// 2. Generate constructor with fields
	public ClsMaterial(int idMaterial, String name, String state,
			Collection<ClsMaterial> materials) {
		super();
		IdMaterial = idMaterial;
		Name = name;
		State = state;
		this.materials = materials;
	}

	// 3. Generate getters and setters
	public int getIdMaterial() {
		return IdMaterial;
	}

	public void setIdMaterial(int idMaterial) {
		IdMaterial = idMaterial;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getState() {
		return State;
	}

	public void setState(String state) {
		State = state;
	}

	public Collection<ClsMaterial> getMaterials() {
		return materials;
	}

	public void setMaterials(Collection<ClsMaterial> materials) {
		this.materials = materials;
	}
}
